package com.zoer.domain;
import com.zoer.domain.Disease;
import com.zoer.domain.Drug;

// default package

/**
 * AbstractDiseaseDrug entity provides the base persistence definition of the
 * DiseaseDrug entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class DiseaseDrug implements java.io.Serializable {

	// Fields

	private String id;
	private Disease disease;
	private Drug drug;

	// Constructors

	/** default constructor */
	public DiseaseDrug() {
	}

	/** full constructor */
	public DiseaseDrug(Disease disease, Drug drug) {
		this.disease = disease;
		this.drug = drug;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Disease getDisease() {
		return this.disease;
	}

	public void setDisease(Disease disease) {
		this.disease = disease;
	}

	public Drug getDrug() {
		return this.drug;
	}

	public void setDrug(Drug drug) {
		this.drug = drug;
	}

}